<div th:fragment="info">
<form class="layui-form" lay-filter="myform" id="myform">
    <input type="hidden" name="tag" id="tag">
    <input type="hidden" name="knowledge" id="knowledge">
    <div style="display: none"><select id="knowledge1" name="knowledge1"></select></div>

    <input type="hidden" name="recordId" id="recordId">
    <input type="hidden" name="id" id="id" th:value="${id}">
    <input type="hidden" name="delFlag" id="delFlag" value="1">
    <div class="layui-form-item">
        <label class="layui-form-label">题型</label>
        <div class="layui-input-inline" style="width: 710px!important;">
            <input type="radio" name="questionType" lay-filter="questionType" value="1" title="单选题">
            <input type="radio" name="questionType" lay-filter="questionType" value="2" title="多选题">
            <input type="radio" name="questionType" lay-filter="questionType" value="3" title="判断题">
            <input type="radio" name="questionType" lay-filter="questionType" value="4" title="简答题">
            <input type="radio" name="questionType" lay-filter="questionType" value="5" title="计算分析题">
        </div>
        <label class="layui-form-label">编号</label>
        <div class="layui-input-inline">
            <input type="text" name="code" id="code" readonly class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">题干</label>
        <div class="layui-input-block" >
            <script id="tigan" type="text/plain" style="height:130px;"></script>
            <!--<textarea id="tigan" name="tigan"></textarea>-->
        </div>
    </div>
    <div class="layui-form-item" id="daandiv">
        <label class="layui-form-label">答案</label>
        <div class="layui-input-block" >
            <script id="daan" type="text/plain" style="height:130px;"></script>
<!--            <textarea id="daan" name="daan"></textarea>-->
        </div>
    </div>
    <div class="layui-form-item" id="jiexidiv">
        <label class="layui-form-label">解析</label>
        <div class="layui-input-block" >
            <script id="jiexi" type="text/plain" style="height:130px;"></script>
<!--            <textarea id="jiexi" name="jiexi"></textarea>-->
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">学院/系</label>
        <div class="layui-input-inline">
            <select name="collegeId" id="collegeId"></select>
        </div>
        <label class="layui-form-label">专业</label>
        <div class="layui-input-inline">
            <select name="majorId" id="majorId"></select>
        </div>
        <label class="layui-form-label">科目</label>
        <div class="layui-input-inline">
            <select name="categoryId" id="categoryId"></select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">篇</label>
        <div class="layui-input-inline">
            <select name="pianId" id="pianId" lay-filter="pianId"></select>
        </div>
        <label class="layui-form-label">章</label>
        <div class="layui-input-inline">
            <select name="chapterId" id="chapterId" lay-filter="chapterId"></select>
        </div>
        <label class="layui-form-label">节</label>
        <div class="layui-input-inline">
            <select name="jieId" id="jieId"></select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">试题类型</label>
        <div class="layui-input-inline">
            <select name="contentType" id="contentType"></select>
        </div>
        <label class="layui-form-label">试题难度</label>
        <div class="layui-input-inline">
            <select name="difficulty" id="difficulty"></select>
        </div>
        <label class="layui-form-label">试题来源</label>
        <div class="layui-input-inline">
            <select name="source" id="source"></select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">知识点</label>
        <div class="layui-input-inline" style="width:710px!important;">
            <div class="fairy-tag-container" style="height: 40px!important">
                <input name="klp1" type="text" class="fairy-tag-input klp1" autocomplete="off" value="">
            </div>
            <div style="display: none" id="klp1"></div>
        </div>
        <label class="layui-form-label">可否查重</label>
        <div class="layui-input-inline">
            <select name="ignoreRepeat" id="ignoreRepeat"></select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">学生类型</label>
        <div class="layui-input-inline">
            <select name="studentType" id="studentType"></select>
        </div>
        <label class="layui-form-label">考生年级</label>
        <div class="layui-input-inline">
            <select name="grade" id="grade"></select>
        </div>
        <label class="layui-form-label">学年</label>
        <div class="layui-input-inline">
            <select name="gradeYear" id="gradeYear"></select>
        </div>
        <label class="layui-form-label">学期</label>
        <div class="layui-input-inline">
            <select name="semester" id="semester"></select>
        </div>
    </div>
    <div class="layui-form-item">

        <label class="layui-form-label">中/英文</label>
        <div class="layui-input-inline">
            <select name="lg" id="lg"></select>
        </div>
        <label class="layui-form-label">考试阶段</label>
        <div class="layui-input-inline">
            <select name="testPhase" id="testPhase"></select>
        </div>
        <label class="layui-form-label">考试方式</label>
        <div class="layui-input-inline">
            <select name="testType" id="testType"></select>
        </div>
        <label class="layui-form-label">A/B/C卷</label>
        <div class="layui-input-inline">
            <select name="paperType" id="paperType"></select>
        </div>

    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">登记人</label>
        <div class="layui-input-inline">
            <input type="text" name="createUserName" id="createUserName" th:value="${session.me.name}" readonly="readonly" class="layui-input">
            <input type="hidden" name="createUserId" id="createUserId" th:value="${session.me.id}">
        </div>
        <label class="layui-form-label">登记时间</label>
        <div class="layui-input-inline">
            <input type="text" name="createTime" id="createTime" th:value="${currentTime}" readonly="readonly" class="layui-input">
        </div>
        <label class="layui-form-label">排序</label>
        <div class="layui-input-inline">
            <input type="number" name="orderno" id="orderno" autocomplete="off" class="layui-input">
        </div>
        <label class="layui-form-label">组卷日期</label>
        <div class="layui-input-inline">
            <input type="text" name="lastUseDate" id="lastUseDate" readonly="readonly" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item" id="btndiv">
        <div class="layui-input-block">
            <button id="submitBtn" class="layui-btn" lay-submit lay-filter="submitme">保存</button>
            <button type="button" class="layui-btn layui-btn-primary" onclick="revalue()">重置</button>
        </div>
    </div>
</form>
</div>
